/*
 * @Author: your name
 * @Date: 2020-05-19 15:24:04
 * @LastEditTime: 2020-06-03 10:28:16
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \mobile_project_200106\mobile_project\src\main.js
 */ 
import Vue from 'vue'
import App from './App.vue'
import router from "@/router/index.js"//路由
import store from "@/store/index.js"//Vuex


Vue.prototype.$eventBus=new Vue()//$eventBus实例化

Vue.config.productionTip = false

import "@/style/reset.css"//重置样式

import "@/style/border.css"//解决移动端1px边框

import FastClick from "fastclick";//解决移动端300毫秒延迟
FastClick.attach(document.body);

import Vant from 'vant';  //vant-ui js
import 'vant/lib/index.css'; //vant 样式

import { Lazyload } from 'vant';//懒加载
Vue.use(Lazyload);




import myPlugins from "@/plugins/myPlugins.js"

Vue
.use(myPlugins)//使用插件
.use(Vant); //使用vant插件

new Vue({
  store,
  router,
  render: h => h(App),
}).$mount('#app')
